#include "widget.h"

#include <QApplication>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);

//    QString style = "QPushButton { color: red; font-size: 30px}";
//    style += "#pushButton_2 { color: green }";
//    style += "#pushButton_3 { color: blue }";

    QString style = "QPushButton, QLineEdit, QLabel { color: red; font-size: 30px}";

    a.setStyleSheet(style);

    //a.setStyleSheet("QPushButton { color: red}");
    //a.setStyleSheet(".QWidget { color: red}");

    Widget w;
    w.show();
    return a.exec();
}
